/**UserMenu.java
 * 
 * This class is the basis for the map. This holds the information
 * for each coordinate on the map.
 * 
 * @author Christopher Carithers
 * Last Updated: 4/15/2014
 *
 */

public class MapSquare 
{
   private int m_XCoordinate;
   private int m_YCoordinate;
   private char m_ObjectOnSquare;
   
   public MapSquare(int xcoordinate, int ycoordinate, char objectOnSquare)
   {
      m_XCoordinate = xcoordinate;
      m_YCoordinate = ycoordinate;
      m_ObjectOnSquare = objectOnSquare;
   }
   
   public void setXCoordinate(int xcoordinate)
   {
      m_XCoordinate = xcoordinate;
   }
   
   public int getXCoordinate()
   {
	  return m_XCoordinate;
   }
   
   public void setYCoordinate(int ycoordinate)
   {
	  m_YCoordinate = ycoordinate;
   }
   
   public int getYCoordinate()
   {
	  return m_YCoordinate;
   }
   
   public void setObjectOnSquare(char objectOnSquare)
   {
	  m_ObjectOnSquare = objectOnSquare;
   }
   
   public char getObjectOnSquare()
   {
	  return m_ObjectOnSquare;
   }
}
